<div class="oa-task-content-toolbar">
    {{if unacceptedCount > 0}}
        <a act="taskCurtain" aType="toOther" href="javascript:;" class="oa-task-msg">{{'TASK_PANEL_5' | i18n}}<span>{{unacceptedCount}}</span>{{'TASK_PANEL_ASSIGN_TASK_1' | i18n}}</a>
    {{/if}}
    {{if rejectedCount > 0}}
        <a act="taskCurtain" aType="beRejected" href="javascript:;" class="oa-task-warn">{{'TASK_PANEL_5' | i18n}}<span>{{rejectedCount}}</span>{{'TASK_PANEL_ASSIGN_TASK_2' | i18n}}</a>
    {{/if}}
    <div class="task-filter clear">
        <a act="taskGroupBy" showType="1" href="javascript:;" class="active">{{'TASK_CURTAIN_ASSIGN_FINISHED_3' | i18n}}</a>
        <a act="taskGroupBy" showType="2" href="javascript:;">{{'TASK_CURTAIN_ASSIGN_FINISHED_4' | i18n}}</a>
    </div>
</div>
<div id="myAssignedTasksAccordionDiv" class="oa-task-content-list">
    <div class="oa-panel-accordion approval-accordion task-accordion">
        {{each assignedUsers as user i}}
            <h3 class="ui-accordion-header task-accordion-header expand" taskType="{{user.id}}" title="{{'TASK_CLICK_COLLECT' | i18n}}">
                <a title="{{user.name}}" data-hasqtip="true" href="/final/user.action?uid={{user.id}}" target="_blank">
                    <img class="userpic" ucard="uid={{user.id}}" src="{{user.icon}}"/>
                </a>
                <span class="task-receiver">{{user.name}}</span>
                <span class="task-num">{{user.taskCount}}</span>
                <span class="expander"></span>
            </h3>
            <div class="oa-accordion-content approval-accordion-content clear" taskType="{{user.id}}TasksDiv">
                <div class="oa-tab-body">
                    <div class="oa-listview-contents">
                        <div class="oa-list report-list-area daily-paper-list clear">
                        {{each user.tasks as task i}}
                            <div class="show-content clear" _taskId="{{task.id}}">
                                <div class="task_tickbox">
                                    <a href="javascript:void(0);" class="normal" title="{{'TASK_CLICK_FINISHED' | i18n}}" _taskId="{{task.id}}"></a>
                                </div>
                                <div class="right-content">
                                    <div class="show-info apply-show-info clear">
                                        <span>{{task.name}}</span>
                                    </div>
                                    <div class="show-tool show-info">
                                        <a class="publish-time" href="javascript:void(0);">{{task.planFinishDate}}</a>
                                        <span class="comment-num">{{task.commentCount}}</span>
                                    </div>
                                </div>
                            </div>
                        {{/each}}
                        </div>
                    </div>
                    <div class="oa-listview-footer"></div>
                </div>
            </div>
        {{/each}}
    </div>
</div>